package com.ecloud.trend.service;

import com.ecloud.trend.entities.TdbDaily;
import com.ecloud.trend.vo.TdbEnvironmentPresentResult;
import com.ecloud.trend.vo.TdbEnvironmentPresentVo;
import com.ecloud.trend.vo.TdbPresentVo;

import java.util.List;

/**
 * @author Squbi
 */
public interface TdbService {
    /**
     * 获取昨日的数据
     *
     * @return List<TDBDaily> {@link TdbDaily}
     * @author Squbi
     * @date 2021/7/19 14:49
     */
    List<TdbDaily> yesterday();

    /**
     * 查询所有能源实时数据
     *
     * @return {@link TdbPresentVo}
     * @author Squbi
     * @date 2021/7/23 14:40
     */
    List<TdbPresentVo> selectPresentEnergyData();

    /**
     * 查询所有控制实时数据
     *
     * @return {@link TdbPresentVo}
     * @author Squbi
     * @date 2021/7/23 14:40
     */
    List<TdbPresentVo> selectPresentControlData();

    /**
     * 查询环境实时数据
     *
     * @return {@link TdbEnvironmentPresentResult}
     * @author Squbi
     * @date 2021/7/26 14:13
     */
    TdbEnvironmentPresentResult presentEnvironmentData();
}
